package edu.ccit.shudong.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import edu.ccit.shudong.dto.PostDTO;
import edu.ccit.shudong.dto.PostProfileDTO;
import edu.ccit.shudong.entity.Post;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Suting Luo
 * @since 2024-06-14
 */
public interface IPostService extends IService<Post> {
    IPage<Post> getPage(long current, long size);
    PostProfileDTO getProfileByToken(String token);
}
